package com.gitee.magic.framework.base.rest;

import com.gitee.magic.core.exception.ApplicationException;

/**
 * 由Rest分布式架构解析JSON而产生的异常信息
 * @author Start
 */
public class JsonResultException extends  ApplicationException {
	
	private static final long serialVersionUID = 1L;

	private String content;
	
	public JsonResultException(Throwable e,String content) {
		super(e);
		this.content=content;
	}
	
	public JsonResultException(String message,String content) {
		super(message);
		this.content=content;
	}

	public String getContent() {
		return content;
	}
	
}
